<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-record-edit" th:object="${record}">
            <input id="srId" name="srId" th:field="*{srId}"  type="hidden">
			<div class="form-group">	
				<label class="col-sm-3 control-label">顾客名称：</label>
				<div class="col-sm-8">
					<input id="gkName" name="gkName" th:field="*{gkName}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">顾客编号：</label>
				<div class="col-sm-8">
					<input id="gkNum" name="gkNum" th:field="*{gkNum}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">房间主键：</label>
				<div class="col-sm-8">
					<input id="roomId" name="roomId" th:field="*{roomId}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">房间占用时间 0.5 -5个小时 0，1，2，3，4，5，6，7，8，9，1：</label>
				<div class="col-sm-8">
					<input id="roomTime" name="roomTime" th:field="*{roomTime}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">美容师id：</label>
				<div class="col-sm-8">
					<input id="mrsId" name="mrsId" th:field="*{mrsId}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">顾问id：</label>
				<div class="col-sm-8">
					<input id="gwId" name="gwId" th:field="*{gwId}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">服务项id：</label>
				<div class="col-sm-8">
					<input id="siId" name="siId" th:field="*{siId}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">0，顾问开单状态 1.物料确认状态 2.美容师确认  ：</label>
				<div class="col-sm-8">
					<input id="state" name="state" th:field="*{state}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">开单时间：</label>
				<div class="col-sm-8">
					<input id="createTime" name="createTime" th:field="*{createTime}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">备注：</label>
				<div class="col-sm-8">
					<input id="remark" name="remark" th:field="*{remark}" class="form-control" type="text">
				</div>
			</div>
		</form>
    </div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "record/record";
		$("#form-record-edit").validate({
			rules:{
				xxxx:{
					required:true,
				},
			},
			focusCleanup: true
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/edit", $('#form-record-edit').serialize());
	        }
	    }
	</script>
</body>
</html>
